/* 打印隐藏侧边栏 */
@media print {
  header {
    display: none !important;
  }

  footer {
    display: none !important;
  }

  aside {
    display: none !important;
  }
}

/* 手机端隐藏侧边栏 */
@media screen and (max-width: 1400px) {
  aside {
    display: none !important;
  }
}

:root {
  --theme-color: #1994ff;
  --body-bg: #f1f2f3;
  --side-bg: #f3f6f9;
  --side-boeder: var(--theme-color);
  --hr-color: #888;
  --title-color: #333;
  --text-color: #666;
  --font-color: #999;
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  user-select: none;
  font-family: sans-serif;
}

html {
  /* 锚点平滑过度 */
  scroll-behavior: smooth;
}

body {
  background-color: #f1f2f3;
  background-color: var(--body-bg);
}

.container {
  width: 992px;
  margin: 0 auto;
  padding: 0 99px;
  background-color: #fff;
}

/* ------------------------ 头部------------------------ */
header {
  padding-top: 60px;
}

.toubu ul {
  display: flex;
  width: 100%;
  height: 50px;
  line-height: 50px;
}

.toubu li {
  color: var(--theme-color);
}

.toubu li:nth-child(1),
.toubu li:nth-child(3) {
  flex: 1;
  position: relative;
}

.toubu li:nth-child(1)::before {
  content: '';
  height: 4px;
  width: 99%;
  background-color: var(--theme-color);
  position: absolute;
  top: 24px;
  left: 0;
}

.toubu li:nth-child(1)::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: var(--theme-color);
  position: absolute;
  border-radius: 50%;
  top: 20px;
  right: 0;
}

.toubu li:nth-child(2) {
  padding: 0 30px;
  font-size: 24px;
}

.toubu li:nth-child(3)::before {
  content: '';
  height: 4px;
  width: 99%;
  background-color: var(--theme-color);
  position: absolute;
  top: 24px;
  right: 0;
}

.toubu li:nth-child(3)::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: var(--theme-color);
  position: absolute;
  border-radius: 50%;
  top: 20px;
  left: 0;
}

/* ------------------------ 主体 ------------------------ */
main {
  width: 794px;
  margin: 0 auto;
}

main p {
  height: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-color);
}

main img {
  width: 794px;
}

.one {
  height: 1403px;
  padding: 128px 0;
}

.one img {
  height: 1122px;
}

.two {
  padding: 58px 0;
}

/* ------------------------ 底部 start------------------------ */
footer {
  --footer-color: #369;
  --foot-hight:48px;
  --footer-fz:18px;

  height: var(--foot-hight);
  line-height: var(--foot-hight);
  font-size: var(--footer-fz);
  text-align: center;
  color: var(--footer-color);

  ul {
    display: flex;
    justify-content: center;

    li {
      margin: 0 4px;

      a {
        color: var(--footer-color);
      }   
    } 
  }
}
/* ------------------------ 底部 end ------------------------ */


/* ------------------------ 侧边栏 ------------------------ */
aside {
  position: fixed;
  right: 24px;
  top: 1%;
  /* transform: translateY(-50%); */
  width: 240px;
  /* height: 600px; */
  background-color: var(--side-bg);
  padding: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid var(--side-boeder);
}

aside h4 {
  width: 100%;
  font-size: 16px;
  color: var(--title-color);
  text-align: center;
  position: relative;
}

aside h4::before {
  position: absolute;
  content: '';
  width: 60px;
  height: 1px;
  background-color: var(--hr-color);
  top: 50%;
  left: 0;
}

aside h4::after {
  position: absolute;
  content: '';
  width: 60px;
  height: 1px;
  background-color: var(--hr-color);
  top: 50%;
  right: 0;
}

aside dl {
  font-size: 14px;
  margin: 8px auto;
}

aside dt {
  display: inline-block;
  color: var(--text-color);
  font-weight: 700;
  border-bottom: 3px double var(--theme-color);
  margin-bottom: 6px;
}

aside dd {
  padding-left: 8px;
  border-left: 4px solid transparent;
}

aside dd a {
  color: var(--font-color);
}

aside dd a:hover {
  color: var(--theme-color);
}

.active a {
  color: var(--theme-color);
}

dd.active {
  border-left: 4px solid var(--theme-color);
}